package mil.af.amc.adpetracker.dao.hibernate;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import mil.af.amc.adpetracker.model.EquipmentItem;

/**
 * Please Fill in this Javadoc
 *
 * @author TSgt Jason Ferguson
 */

public class HibernateEquipmentItemDao2 extends HibernateDaoSupport {

    public EquipmentItem saveOrUpdate(EquipmentItem item) {

        //getHibernateTemplate().saveOrUpdate(item);
        return (EquipmentItem) getHibernateTemplate().merge(item);
    }
}
